package com.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * major
 * @author 
 */
@Data
@TableName(resultMap = "Major")
public class Major implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String mjid;

    /**
     * 专业名称
     */
    private String mjname;

    /**
     * 专业类型id
     */
    private String mtid;

    /**
     * 是否为热门专业(1 是 0 否)
     */
    private Integer ishot;
    /**
     * 专业图片
     */
    private String mjimg;

    /**
     * 关联专业群值对象
     */
    @TableField(exist = false)
    private Majortype majortype;

    private static final long serialVersionUID = 1L;
}